home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.centrum.is!news
- From: bjarnir@centrum.is (Bjarni Ragnarsson)
- Newsgroups: comp.lang.c++
- Subject: Re: ERROR, Please HELP me
- Date: 28 Mar 1996 11:58:37 GMT
- Organization: BR Software
- Message-ID: <4jdutd$9v4@newshost.centrum.is>
- References: <31558C94.44B1@prometheus.hol.gr>
- NNTP-Posting-Host: tungl-87.centrum.is
- X-Newsreader: WinVN version 0.82
-
-
- In article <31558C94.44B1@prometheus.hol.gr>, john <vjohn@prometheus.hol.gr> says:
- >
- >I have this class ...
- >
- > Class MyDialog : TDialog
- > {
- > public :
- > MyDialog(TWindows* aParent) :: TDialog(aParend, "MyDialog_RC")
- > {
- > }
- > }
- >
- >and I call MyDialog class ...
- >
- > (new MyDialog(this))->Execute());
-
- Haven't used Borland for a while, but (ignoring the typo aParent<->aParend)
- I think you have to use MAKEINTRESOURCE("MyDialog_RC") instead of
- "MyDialog_RC" alone.
- If you don't get a better advice, you might try that.
-
- Bjarni.
-
-